package com.qidian.mes.pojo;

import java.util.Date;

/**
 * @Author 严伟伦
 * @Company 无
 * @Description
 * @Date: 2024/10/23 11:05
 */
public class Iqc {
    private Integer iqcId; // 来料检验单ID
    private String iqcCode; // 来料检验单编号
    private String iqcName; // 来料检验单名称
    private long templateId;
    private int deleteStatus;
    private String vendorName;
    private String inspector;
    private String vendorCode; // 供应商编码
    private String vendorNick; // 供应商简称
    private String vendorBatch; // 供应商批次号
    private String itemCode; // 产品物料编码
    private String itemName; // 产品物料名称
    private String unitOfMeasure; // 单位
    private double quantityRecived; // 本次接收数量
    private Integer quantityCheck; // 本次检测数量
    private Integer quantityUnqualified; // 不合格数
    private double crRate; // 致命缺陷率
    private double majRate; // 严重缺陷率
    private double minRate; // 轻微缺陷率
    private Integer crQuantity; // 致命缺陷数量
    private Integer majQuantity; // 严重缺陷数量
    private Integer minQuantity; // 轻微缺陷数量
    private Integer checkResult; // 检测结果
    private Date reciveDate; // 来料日期
    private Date inspectDate; // 检测日期
    private String remark; // 备注
    private Date createTime; // 创建时间
    private Date updateTime; // 更新时间
    private String status; // 单据状态

    public Iqc(Integer iqcId, String iqcCode, String iqcName, long templateId, int deleteStatus, String vendorCode, String vendorNick, String vendorBatch, String itemCode, String itemName, String unitOfMeasure, double quantityRecived, Integer quantityCheck, Integer quantityUnqualified, double crRate, double majRate, double minRate, Integer crQuantity, Integer majQuantity, Integer minQuantity, Integer checkResult, Date reciveDate, Date inspectDate, String remark, Date createTime, Date updateTime, String status) {
        this.iqcId = iqcId;
        this.iqcCode = iqcCode;
        this.iqcName = iqcName;
        this.templateId = templateId;
        this.deleteStatus = deleteStatus;
        this.vendorCode = vendorCode;
        this.vendorNick = vendorNick;
        this.vendorBatch = vendorBatch;
        this.itemCode = itemCode;
        this.itemName = itemName;
        this.unitOfMeasure = unitOfMeasure;
        this.quantityRecived = quantityRecived;
        this.quantityCheck = quantityCheck;
        this.quantityUnqualified = quantityUnqualified;
        this.crRate = crRate;
        this.majRate = majRate;
        this.minRate = minRate;
        this.crQuantity = crQuantity;
        this.majQuantity = majQuantity;
        this.minQuantity = minQuantity;
        this.checkResult = checkResult;
        this.reciveDate = reciveDate;
        this.inspectDate = inspectDate;
        this.remark = remark;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.status = status;
    }

    public Iqc() {
    }

    public String getInspector() {
        return inspector;
    }

    public void setInspector(String inspector) {
        this.inspector = inspector;
    }

    public String getVendorName() {
        return vendorName;
    }

    public void setVendorName(String vendorName) {
        this.vendorName = vendorName;
    }

    public Integer getIqcId() {
        return iqcId;
    }

    public void setIqcId(Integer iqcId) {
        this.iqcId = iqcId;
    }

    public String getIqcCode() {
        return iqcCode;
    }

    public void setIqcCode(String iqcCode) {
        this.iqcCode = iqcCode;
    }

    public String getIqcName() {
        return iqcName;
    }

    public void setIqcName(String iqcName) {
        this.iqcName = iqcName;
    }

    public long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(long templateId) {
        this.templateId = templateId;
    }

    public int getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(int deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public String getVendorCode() {
        return vendorCode;
    }

    public void setVendorCode(String vendorCode) {
        this.vendorCode = vendorCode;
    }

    public String getVendorNick() {
        return vendorNick;
    }

    public void setVendorNick(String vendorNick) {
        this.vendorNick = vendorNick;
    }

    public String getVendorBatch() {
        return vendorBatch;
    }

    public void setVendorBatch(String vendorBatch) {
        this.vendorBatch = vendorBatch;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getUnitOfMeasure() {
        return unitOfMeasure;
    }

    public void setUnitOfMeasure(String unitOfMeasure) {
        this.unitOfMeasure = unitOfMeasure;
    }

    public double getQuantityRecived() {
        return quantityRecived;
    }

    public void setQuantityRecived(double quantityRecived) {
        this.quantityRecived = quantityRecived;
    }

    public Integer getQuantityCheck() {
        return quantityCheck;
    }

    public void setQuantityCheck(Integer quantityCheck) {
        this.quantityCheck = quantityCheck;
    }

    public Integer getQuantityUnqualified() {
        return quantityUnqualified;
    }

    public void setQuantityUnqualified(Integer quantityUnqualified) {
        this.quantityUnqualified = quantityUnqualified;
    }

    public double getCrRate() {
        return crRate;
    }

    public void setCrRate(double crRate) {
        this.crRate = crRate;
    }

    public double getMajRate() {
        return majRate;
    }

    public void setMajRate(double majRate) {
        this.majRate = majRate;
    }

    public double getMinRate() {
        return minRate;
    }

    public void setMinRate(double minRate) {
        this.minRate = minRate;
    }

    public Integer getCrQuantity() {
        return crQuantity;
    }

    public void setCrQuantity(Integer crQuantity) {
        this.crQuantity = crQuantity;
    }

    public Integer getMajQuantity() {
        return majQuantity;
    }

    public void setMajQuantity(Integer majQuantity) {
        this.majQuantity = majQuantity;
    }

    public Integer getMinQuantity() {
        return minQuantity;
    }

    public void setMinQuantity(Integer minQuantity) {
        this.minQuantity = minQuantity;
    }

    public Integer getCheckResult() {
        return checkResult;
    }

    public void setCheckResult(Integer checkResult) {
        this.checkResult = checkResult;
    }

    public Date getReciveDate() {
        return reciveDate;
    }

    public void setReciveDate(Date reciveDate) {
        this.reciveDate = reciveDate;
    }

    public Date getInspectDate() {
        return inspectDate;
    }

    public void setInspectDate(Date inspectDate) {
        this.inspectDate = inspectDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Iqc{" +
                "iqcId=" + iqcId +
                ", iqcCode='" + iqcCode + '\'' +
                ", iqcName='" + iqcName + '\'' +
                ", templateId=" + templateId +
                ", deleteStatus=" + deleteStatus +
                ", vendorCode='" + vendorCode + '\'' +
                ", vendorNick='" + vendorNick + '\'' +
                ", vendorBatch='" + vendorBatch + '\'' +
                ", itemCode='" + itemCode + '\'' +
                ", itemName='" + itemName + '\'' +
                ", unitOfMeasure='" + unitOfMeasure + '\'' +
                ", quantityRecived=" + quantityRecived +
                ", quantityCheck=" + quantityCheck +
                ", quantityUnqualified=" + quantityUnqualified +
                ", crRate=" + crRate +
                ", majRate=" + majRate +
                ", minRate=" + minRate +
                ", crQuantity=" + crQuantity +
                ", majQuantity=" + majQuantity +
                ", minQuantity=" + minQuantity +
                ", checkResult=" + checkResult +
                ", reciveDate=" + reciveDate +
                ", inspectDate=" + inspectDate +
                ", remark='" + remark + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", status='" + status + '\'' +
                '}';
    }
}
